@@ -1466,34 +1466,34 @@ func Test_Mock_AssertExpectationsFunctionalOptionsType(t *testing.T) {
14661466
14671467}
14681468
1469- func Test_Mock_AssertExpectationsFunctionalOptionsType_Indirectly (t * testing.T ) {
1469+ func Test_Mock_AssertExpectationsFunctionalOptionsType_Empty (t * testing.T ) {
14701470
14711471 var mockedService = new (TestExampleImplementation )
14721472
1473- mockedService .On ("TheExampleMethodFunctionalOptions" , "test" , FunctionalOptions (OpNum ( 1 ), OpStr ( "foo" ) )).Return (nil ).Once ()
1473+ mockedService .On ("TheExampleMethodFunctionalOptions" , "test" , FunctionalOptions ()).Return (nil ).Once ()
14741474
14751475 tt := new (testing.T )
14761476 assert .False (t , mockedService .AssertExpectations (tt ))
14771477
14781478 // make the call now
1479- TheExampleMethodFunctionalOptionsIndirect ( mockedService )
1479+ mockedService . TheExampleMethodFunctionalOptions ( "test" )
14801480
14811481 // now assert expectations
14821482 assert .True (t , mockedService .AssertExpectations (tt ))
14831483
14841484}
14851485
1486- func Test_Mock_AssertExpectationsFunctionalOptionsType_Empty (t * testing.T ) {
1486+ func Test_Mock_AssertExpectationsFunctionalOptionsType_Indirectly (t * testing.T ) {
14871487
14881488 var mockedService = new (TestExampleImplementation )
14891489
1490- mockedService .On ("TheExampleMethodFunctionalOptions" , "test" , FunctionalOptions ()).Return (nil ).Once ()
1490+ mockedService .On ("TheExampleMethodFunctionalOptions" , "test" , FunctionalOptions (OpNum ( 1 ), OpStr ( "foo" ) )).Return (nil ).Once ()
14911491
14921492 tt := new (testing.T )
14931493 assert .False (t , mockedService .AssertExpectations (tt ))
14941494
14951495 // make the call now
1496- mockedService . TheExampleMethodFunctionalOptions ( "test" )
1496+ TheExampleMethodFunctionalOptionsIndirect ( mockedService )
14971497
14981498 // now assert expectations
14991499 assert .True (t , mockedService .AssertExpectations (tt ))
0 commit comments