public boolean hasViewPermissionDefined() {
        return !viewConfig.equals(new ViewConfig());
    }
@Test
    public void shouldReturnFalseIfViewPermissionNotDefined() {
        Authorization authorization = new Authorization(new ViewConfig());
        assertThat(authorization.hasViewPermissionDefined(), is(false));
    }