@@ -19,12 +19,12 @@ public function testGetOptionWhenOptionsAreSet()
19
19
false ,
20
20
true ,
21
21
[
22
- 'getData ' , 'usesSource ' , 'getSource ' , 'convertToObjects '
22
+ '_getData ' , 'usesSource ' , 'getSource ' , 'convertToObjects '
23
23
]
24
24
);
25
25
26
26
$ model ->expects ($ this ->once ())
27
- ->method ('getData ' )
27
+ ->method ('_getData ' )
28
28
->with (\Magento \Eav \Model \Entity \Attribute \AbstractAttribute::OPTIONS )
29
29
->willReturn (['options ' ]);
30
30
$ model ->expects ($ this ->never ())->method ('usesSource ' );
@@ -46,12 +46,12 @@ public function testGetOptionWhenOptionsAreEmptyWithoutSource()
46
46
false ,
47
47
true ,
48
48
[
49
- 'getData ' , 'usesSource ' , 'getSource ' , 'convertToObjects '
49
+ '_getData ' , 'usesSource ' , 'getSource ' , 'convertToObjects '
50
50
]
51
51
);
52
52
53
53
$ model ->expects ($ this ->once ())
54
- ->method ('getData ' )
54
+ ->method ('_getData ' )
55
55
->with (\Magento \Eav \Model \Entity \Attribute \AbstractAttribute::OPTIONS )
56
56
->willReturn ([]);
57
57
$ model ->expects ($ this ->once ())->method ('usesSource ' )->willReturn (false );
@@ -74,12 +74,12 @@ public function testGetOptionWhenOptionsAreEmptyWithSource()
74
74
false ,
75
75
true ,
76
76
[
77
- 'getData ' , 'usesSource ' , 'getSource ' , 'convertToObjects ' , 'getAllOptions '
77
+ '_getData ' , 'usesSource ' , 'getSource ' , 'convertToObjects ' , 'getAllOptions '
78
78
]
79
79
);
80
80
81
81
$ model ->expects ($ this ->once ())
82
- ->method ('getData ' )
82
+ ->method ('_getData ' )
83
83
->with (\Magento \Eav \Model \Entity \Attribute \AbstractAttribute::OPTIONS )
84
84
->willReturn ([]);
85
85
$ model ->expects ($ this ->once ())->method ('usesSource ' )->willReturn (true );
0 commit comments