public void TryHitHitSource() { var hitter = new HitSource(); var source = new MockClass(); hitter.Try(source, out var target); Assert.AreSame(source, target); }
public void TryHitReturnsTrue() { var hitter = new HitSource(); Assert.True(hitter.Try(default(MockClass), out _)); }