public void Format_Null() { // arrange var serializer = new BooleanSerializer(); // act object?result = serializer.Format(null); // assert Assert.Null(result); }
public void Format_False() { // arrange var serializer = new BooleanSerializer(); // act object?result = serializer.Format(false); // assert Assert.False(Assert.IsType <bool>(result)); }
public void Format_True() { // arrange var serializer = new BooleanSerializer(); // act var result = serializer.Format(true); // assert Assert.True(Assert.IsType <bool>(result)); }