    @Test
    public void getShouldThrowExceptionWhenUserWasNotFound() throws Exception {

        // Given
        final String username = UUID.randomUUID().toString();

        // Then -- expected exception
        expectedException.expect(Exception.class);
        expectedException.expectMessage(String.format("User for username %s was not found", username));

        // When
        userDAO.get(username);
    }