    @Test
    public void findOne() {

        Optional<User> actualOptional = userRepository.findOne(1L);
        if (!actualOptional.isPresent()) {
            fail("Return object is null");
        } else {
            User actual = actualOptional.get();
            assertEquals(EXPECTED_USER, actual);
        }
    }