@Test public final void testServerPasswordNullString() { String password = null; config.serverPassword(password); assertTrue( "Password is not String (nulls and others should not be allowed)", config.serverPassword() instanceof java.lang.String); }
@Test public final void testServerPasswordString() { String password = "******"; config.serverPassword(password); assertTrue("Failed to retrieve set password", config.serverPassword().equals(password)); }