@Test
public void checkCanCreateWhenFeatureEnabled() {

    when(authorizationManagerMock.authorize(any(ResourceRef.class),
                                            eq(ResourceAction.READ),
                                            eq(userMock))).thenReturn(true);
    assertTrue(handler.canCreate());
    assertResourceRef();
}