[Test] public void Prig_should_fake_static_property_get() { using (new IndirectionsContext()) { // Arrange PFoo.StaticConstructor().Body = () => { }; var called = false; PFoo.FooPropGet().Body = () => { called = true; return 1; }; // Act var actual = Foo.FooProp; // Assert Assert.AreEqual(1, actual); Assert.IsTrue(called); } }