public void TestFabrykiNieprawidlowyArgument() { var argument = "sUmakkkkancsaa"; //IOperation expected = ; var actual = OperationsFactory.ChooseOperation(argument); Assert.IsNull(actual); }
public void TestFabrykiPrawidlowyArgument(string argument, Type expected) { var actual = OperationsFactory.ChooseOperation(argument); Assert.AreEqual(expected, actual.GetType()); }