public void GetStaticType() { var sut = new ScopedNameResolver(); sut.Register( "a", new Query { type = Type("T") }); var actual = sut.GetStaticType("a"); var expected = Type("T"); Assert.AreEqual(expected, actual); }
public void GetStaticType_Undefined() { var sut = new ScopedNameResolver(); sut.GetStaticType("a"); }