public void CanNotHandleInvalidPresenceMessages() { var message = new MeMessage { Type = EventType.Message }; var handler = new PresenceHandler(); var result = handler.CanHandle(message); Assert.False(result); }
public void CanHandlePresenceMessages() { var message = new PresenceChange { Type = EventType.PresenceChange }; var handler = new PresenceHandler(); var result = handler.CanHandle(message); Assert.True(result); }
public void CanNotHandleInvalidPresenceMessages() { var message = new MeMessage { Type = EventType.Message }; var handler = new PresenceHandler(); var result = handler.CanHandle(message); Assert.False(result); }
public void CanHandlePresenceMessages() { var message = new PresenceChange { Type = EventType.PresenceChange }; var handler = new PresenceHandler(); var result = handler.CanHandle(message); Assert.True(result); }