final String middleName2 = "Mugo";
final String lastName = "Njogu";
final String namesFromUser = " " + firstName +" " + middleName1 + " " + middleName2 + " " + lastName + " ";
maintainable.createPrincipal(maintainable.createPrincipalName(namesFromUser),
MartinlawConstants.AffiliationCodes.WITNESS, namesFromUser);
final EntityNameContract entityName = testCreatePrincipal("eric_felix_mugo_njogu", MartinlawConstants.AffiliationCodes.WITNESS);
assertEquals("first name differs", firstName, entityName.getFirstName());
assertEquals("middle name differs", middleName1 + " " + middleName2, entityName.getMiddleName());
assertEquals("last name differs", lastName, entityName.getLastName());
}