public void TestNumberSequenceReturnType() { var sequence = new coderush.Services.NumberSequence(_context); var result = sequence.GetNumberSequence("BILL"); Assert.IsType <string>(result); }
public void CreateNumberSequenceWithNotExistingdModule() { var sequence = new coderush.Services.NumberSequence(_context); var result = sequence.GetNumberSequence("app"); Assert.Equal("00001#app", result); }
public void CreateNumberSequenceWithExistingModule() { var sequence = new coderush.Services.NumberSequence(_context); var result = sequence.GetNumberSequence("BILL"); Assert.Equal("00004#BILL", result); }