public void Should_Parse_Correctly_A_Collect_Request_With_Full_Object_Instance() { Payment payment = new Payment("TESTING_2020", null, false, false, null, null, null, null, null, null, null, null); var request = new CollectRequest("en_US", null, null, payment, null); Assert.IsInstanceOf <Payment>(payment); Assert.IsNotNull(request.Payment); Assert.AreEqual("TESTING_2020", request.GetReference()); Assert.AreEqual("EN", request.GetLanguage()); }