public function testSendEventNotificationsWithValueToAndFromStringShouldMatch() { $this->sendEventNotifications->value = true; $sendEventNotificationsXml = $this->sendEventNotifications->saveXML(); $newSendEventNotifications = new Extension\SendEventNotifications(); $newSendEventNotifications->transferFromXML($sendEventNotificationsXml); $newSendEventNotificationsXml = $newSendEventNotifications->saveXML(); $this->assertTrue($sendEventNotificationsXml == $newSendEventNotificationsXml); $this->assertEquals(true, $newSendEventNotifications->value); }