    @Test
    public void testFindUserByIdReturnsAUserView() {

        UserView testView = buildTestView();

        when(userViewRepository.findByIdentifier(testUserId.getIdentifier())).thenReturn(testView);

        UserView result = testSubject.find(new UserByIdQuery(testUserId));

        assertEquals(testView, result);
    }