public void CreateShouldThrowNotImplementedExceptionForUnknownOperand() { var factory = new OperationFactory(); Assert.Throws <NotImplementedException>(() => factory.Create("%")); }
public void CreateShouldWork(string operand) { var factory = new OperationFactory(); Assert.DoesNotThrow(() => factory.Create(operand)); }