public void WarehouseCodeName_Entries_IsValid(string codeName)
        {
            //Arrange and Act
            WarehouseCodeName methodUnderTest = new WarehouseCodeName(codeName);

            //Assert
            Assert.Equal(codeName, methodUnderTest.ToString());
        }
Пример #2
0
        private bool IsUniqueWarehouseCodeName(WarehouseCodeName warehouseCodeName)
        {
            bool isUniqueWarehouseCodename = new CodeNameRegexChecker(_iHaveCodeNameRegexChecker, warehouseCodeName.ToString()).IsBroken();

            return(isUniqueWarehouseCodename);
        }