public void REQ_10_GetInTransitStockOrders() { var storekeeper = _authentificationService.ConnectStorekeeper("MatMatStock", "brico2000clavy"); Assert.IsNotNull(storekeeper); var stockOrders = _stockOrderService.GetInTransitStockOrders(); Assert.IsTrue(stockOrders.Count() > 0); }
public void REQ_9_DisconnectStorekeeper_LoggedEmployee() { var storekeeper = _authentificationService.ConnectStorekeeper("MatMatStock", "brico2000clavy"); Assert.IsNotNull(storekeeper); _authentificationService.DisconnectEmployee(storekeeper.Login); }
public void REQ_11_AddNewProvider() { _authentificationService.ConnectStorekeeper("MatMatStock", "brico2000clavy"); var newProvider = _providerService.AddProvider( "Courage", "0606060606", "*****@*****.**", "Middle of", "666", "Nowhere" , new Catalog() ); var providerFound = _providerService.GetProvider(newProvider.Name); Assert.IsNotNull(providerFound); }
public void REQ_8_ConnectStorekeeper_RigthMatriculePassword() { var storekeeper = _authentificationService.ConnectStorekeeper("MatMatStock", "brico2000clavy"); Assert.IsNotNull(storekeeper); }