void () { VcsUser user = myLogProvider.getCurrentUser(getProjectRoot()); assertNotNull("User is not defined", user); VcsUser expected = getDefaultUser(); assertEquals("User name is incorrect", expected.getName(), user.getName()); assertEquals("User email is incorrect", expected.getEmail(), user.getEmail()); }