public void should_match_interface([Values(null, "token")] object token) { var target = new BaseTypeMatcher(Unit.OfType <IDisposable>(token)); target.Matches(Unit.OfType <MemoryStream>(token)).Should().BeTrue(); }
public void should_match_exact_type([Values(null, "token")] object token) { var target = new BaseTypeMatcher(Unit.OfType <int>(token)); target.Matches(Unit.OfType <int>(token)).Should().BeTrue(); }