Exemplo n.º 1
0
 public void testGetAddress() {
   assertEquals("Wrong server address.", HOSTNAME, m_out.getHostname());
 }
Exemplo 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());
 }