public void Should_have_error_when_User_inside_room_RoomName_ok() { var message = CreateRoomMessageMockData.UserInsideRoomWithRoomName().SerializeMessage(); var result = _messageService.HandleRequest(socketId, message); Assert.That(result[0].Event, Is.EqualTo(EventEnum.Error)); }
public void Should_have_error_when_User_inside_room_RoomName_ok() { var message = CreateRoomMessageMockData.UserInsideRoomWithRoomName(); validator.ShouldHaveValidationErrorFor(x => x.User.IdActiveRoom, message); }