コード例 #1
0
        public void should_resolve_the_Substitutes()
        {
            var spec = new TestComponentSpecification();

            spec.SUT.RunAll();
            spec.SubstituteFor <IServiceA>().Received().RunA();
        }
コード例 #2
0
        public void should_resolve_the_SUT()
        {
            var spec = new TestComponentSpecification();

            spec.SUT.Should().BeAssignableTo <TestComponent>();
        }