Example #1
0
 public void TryCreateReturnsFalseForIncompatibleType()
 {
     ConstructorConverter <int> .TryCreate(out _).ShouldBeFalse();
 }
Example #2
0
 public void TryCreateReturnsTrueForCompatibleType()
 {
     ConstructorConverter <ConstructableFromString> .TryCreate(out _).ShouldBeTrue();
 }