@Test
public void testNotification() {

    markSourceConnected(true);
    Map<String,Object> m = new LinkedHashMap<>();
    m.put("msg", "str");
    client.sendNotification(m);
    assert socket.compareData("op", ExtensionServiceMessage.OP_NOTIFICATION);
    assert socket.compareData("object.msg", "str");
    assert socket.compareData("resourceId", srcName);
}