public void ValidateRequestMapFieldsTest() { var validatedRequestMap = new RequestMap { ClientId = "1", RequestId = "1", Name = "Bulka i chleb", Quantity = "5", Price = "10.3" }; var request = validatedRequestMap.ValidateFields(); Assert.IsNotNull(request); var NotValidatedRequestMap = new RequestMap { ClientId = "1 vv", RequestId = "1", Name = "Bulka i chleb", Quantity = "5", Price = "10.3" }; request = validatedRequestMap.ValidateFields(); Assert.IsNull(request); }