public static void Equal <T>(this Should <object, Be <object> > that) { that.Apply((t, _, __) => { Assert.IsType <TypeReference>(t); ((TypeReference)t).FullName.Should().Equal(typeof(T).FullName); }); }