Example #1
0
        public void on_found_handler_arg_is_the_file_found_instance_passed_to_the_on_found_method()
        {
            FileFound handlerArg = null;

            ClassUnderTest.AddHandler(x => handlerArg = x);
            ClassUnderTest.OnFound(_ff);
            handlerArg.ShouldEqual(_ff);
        }