Bickle.Tests.Describing_a_spec.Can_describe_a_function_invocation C# (CSharp) Method

Can_describe_a_function_invocation() private method

private Can_describe_a_function_invocation ( ) : void
return void
        public void Can_describe_a_function_invocation()
        {
            var foo = new ExampleFoo();

            string description = SpecDescriber.DescribeSpec(() => foo.Bar() == 42);
            description.ShouldBe("foo.Bar() should equal 42");
        }