ToAddressParserFactory { public ToAddressParser getToParser() { return new SmtpOnlyToAddresParser(); }  ToAddressParser getToParser();  }
@Test public void testGetToParser() { ToAddressParserFactory instance = new ToAddressParserFactory(); ToAddressParser result = instance.getToParser(); assertTrue(result instanceof ToAddressParser); }