public void CanSerializeIntMessage() { var message = new UntypedContainerMessage { Contents = 123 }; AssertEqual(message); }
public void CanSerializeDecimalMessage() { var message = new UntypedContainerMessage { Contents = 123.456m }; AssertEqual(message); }
public void Can_serialize_double_message() { var message = new UntypedContainerMessage { Contents = 123.456d }; AssertEqual(message); }
public void CanSerializeAddressMessage() { var message = new UntypedContainerMessage { Contents = new Address("abc", "def") }; AssertEqual(message); }
public void Can_serialize_long_message() { var message = new UntypedContainerMessage { Contents = 123L }; AssertEqual(message); }