Beispiel #1
0
 public void You_cannot_provide_input_for_which_there_is_no_input_attribute(FakeInputOperation <IOperation> operation, object input)
 {
     Assert.Throws <ArgumentException>(() => operation.ProvideInput(input));
 }
Beispiel #2
0
        public void You_can_provide_input_to_an_operation(FakeInputOperation <object> operation, object input)
        {
            operation.ProvideInput(input);

            Assert.Same(input, operation.ProvidedInput);
        }