@@ -76,45 +76,4 @@ public function testConvertToYotiAttributeNullValue() {
76
76
$ this ->assertNull ($ attr );
77
77
}
78
78
79
- /**
80
- * @covers ::convertValueBasedOnContentType
81
- * @covers ::validateInput
82
- */
83
- public function testConvertValueBasedOnContentTypeValidation () {
84
- $ this ->expectException (AttributeException::class);
85
- $ this ->expectExceptionMessage ('Warning: test_attr value is NULL ' );
86
- $ this ->invokeStaticMethod (
87
- AttributeConverter::class,
88
- 'convertValueBasedOnContentType ' ,
89
- [$ this ->getMockForProtobufAttribute ('test_attr ' , '' )]
90
- );
91
- }
92
-
93
- /**
94
- * @covers ::convertValueBasedOnAttributeName
95
- * @covers ::validateInput
96
- */
97
- public function testConvertValueBasedOnAttributeNameValidation () {
98
- $ this ->expectException (AttributeException::class);
99
- $ this ->expectExceptionMessage ('Warning: test_attr value is NULL ' );
100
- $ this ->invokeStaticMethod (
101
- AttributeConverter::class,
102
- 'convertValueBasedOnAttributeName ' ,
103
- ['' , 'test_attr ' ]
104
- );
105
- }
106
-
107
- /**
108
- * @covers ::validateInput
109
- */
110
- public function testValidateInput () {
111
- $ this ->expectException (AttributeException::class);
112
- $ this ->expectExceptionMessage ('Warning: test_attr value is NULL ' );
113
- $ this ->invokeStaticMethod (
114
- AttributeConverter::class,
115
- 'validateInput ' ,
116
- ['' , 'test_attr ' ]
117
- );
118
- }
119
-
120
79
}
0 commit comments