public Type getType() {
        return this.type;
    }
@Test
    public void testGetType() {
        AppPermission appPermission = new AppPermission(Type.APP_WRITE);
        assertEquals(Type.APP_WRITE, appPermission.getType());
    }