public void CanConvert(Type typeToConvert, bool expected) { // Arrange var converter = new MetricsConverter(); // Assert converter.CanConvert(typeToConvert).ShouldBe(expected); }
public void CanConvert() { // Act var converter = new MetricsConverter(); var type = (Type)null; // Assert converter.CanConvert(type).ShouldBeTrue(); }