Esempio n. 1
0
 public void testGetAddress() {
   assertEquals("Wrong server address.", HOSTNAME, m_out.getHostname());
 }
Esempio n. 2
0
 public void testConstructorWithArgs() {
   ExchangeMediaServer out = new ExchangeMediaServer(HOSTNAME, VOICEMAIL_EXTENSION);
   assertEquals("Wrong value for hostname.", HOSTNAME, out.getHostname());
   assertEquals("Wrong value for extension.", VOICEMAIL_EXTENSION, out.getServerExtension());
 }