public void throws_exception_on_insert_if_id_retrieved_from_GetNextID_already_exists() { var dataProxy = new PersonDataProxyWithBadIDIncrementLogic(); dataProxy.Insert(new Person { Name = "Steve How" }); }
public async Task throws_exception_on_insert_if_id_retrieved_from_GetNextID_already_exists_async() { var dataProxy = new PersonDataProxyWithBadIDIncrementLogic(); await dataProxy.InsertAsync(new Person { Name = "Steve How" }); }