public void Echo_should_be_callable_indirectly() { using (new IndirectionsContext()) { // Arrange PULUnusedGeneric <sbyte, byte, short, ushort> .EchoOfT5OfT6OfT7OfT8OfTRetT4T8 <int, uint, long, ulong, decimal>().Body = (@this, v4, v8) => 42m; // Act var result = new ULUnusedGeneric <sbyte, byte, short, ushort>().Echo <int, uint, long, ulong, decimal>(1, 2); // Assert Assert.AreEqual(42m, result); } }
public void Echo_should_be_callable_indirectly() { using (new IndirectionsContext()) { // Arrange PULUnusedGeneric<sbyte, byte, short, ushort>.EchoOfT5OfT6OfT7OfT8OfTRetT4T8<int, uint, long, ulong, decimal>().Body = (@this, v4, v8) => 42m; // Act var result = new ULUnusedGeneric<sbyte, byte, short, ushort>().Echo<int, uint, long, ulong, decimal>(1, 2); // Assert Assert.AreEqual(42m, result); } }