public void testExecuteInvalidVerification() {
assertExecuteVerification("12345", "invalid");
}
private void assertExecuteVerification(String token, String expectedType) {
ServerRuntimeContext serverRuntimeContext = Mockito.mock(ServerRuntimeContext.class);
Mockito.when(serverRuntimeContext.getServerEnitity()).thenReturn(TO);
Stanza stanza = new StanzaBuilder("verify", NamespaceURIs.JABBER_SERVER_DIALBACK)
.addAttribute("from", FROM.getFullQualifiedName())
.addAttribute("to", TO.getFullQualifiedName())
.addAttribute("id", ID)