public void edit_table_by_existing_name_failed() { UnitOfWorkMock.AnyActual( Arg.Any <Expression <Func <Table, bool> > >()).Returns(true); Assert.Throws <InvalidOperationException>(() => Execute()); }
public void add_table_with_same_name_faild(AddTableCommand command) { UnitOfWorkMock.AnyActual( Arg.Any <Expression <Func <Table, bool> > >()).Returns(true); Assert.Throws <InvalidOperationException>(() => Execute()); }