@Test public void testMachineUserToFmsUserMissingNames() { String workloadUsername = "foobar"; UserManagementProto.MachineUser umsMachineUser = UserManagementProto.MachineUser.newBuilder() .setWorkloadUsername(workloadUsername) .build(); FmsUser fmsUser = underTest.toFmsUser(umsMachineUser); assertEquals(workloadUsername, fmsUser.getName()); assertEquals(underTest.NONE_STRING, fmsUser.getFirstName()); assertEquals(underTest.NONE_STRING, fmsUser.getLastName()); }
public FmsUser toFmsUser(UserManagementProto.User umsUser) { return createFmsUser(umsUser.getWorkloadUsername(), umsUser.getFirstName(), umsUser.getLastName()); }
FmsUserConverter { public FmsUser toFmsUser(UserManagementProto.User umsUser) { return createFmsUser(umsUser.getWorkloadUsername(), umsUser.getFirstName(), umsUser.getLastName()); } }
FmsUserConverter { public FmsUser toFmsUser(UserManagementProto.User umsUser) { return createFmsUser(umsUser.getWorkloadUsername(), umsUser.getFirstName(), umsUser.getLastName()); }  }
FmsUserConverter { public FmsUser toFmsUser(UserManagementProto.User umsUser) { return createFmsUser(umsUser.getWorkloadUsername(), umsUser.getFirstName(), umsUser.getLastName()); }  FmsUser toFmsUser(UserManagementProto.User umsUser); FmsUser toFmsUser(UserManagementProto.MachineUser umsMachineUser); FmsUser toFmsUser(
            UserManagementProto.UserSyncActorDetails actorDetails); }
FmsUserConverter { public FmsUser toFmsUser(UserManagementProto.User umsUser) { return createFmsUser(umsUser.getWorkloadUsername(), umsUser.getFirstName(), umsUser.getLastName()); }  FmsUser toFmsUser(UserManagementProto.User umsUser); FmsUser toFmsUser(UserManagementProto.MachineUser umsMachineUser); FmsUser toFmsUser(
            UserManagementProto.UserSyncActorDetails actorDetails);  }