Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stretchr/testify
/ AssertExpectations
Method
AssertExpectations
mock/mock.go:595–595 ·
view source on GitHub ↗
(TestingT)
Source
from the content-addressed store, hash-verified
593
594
type
assertExpectationiser
interface
{
595
AssertExpectations(TestingT) bool
596
}
597
598
// AssertExpectationsForObjects asserts that everything specified with On and Return
Callers
15
AssertExpectationsForObjects
Function · 0.65
Test_Mock_On_WithArgMatcherThatPanics
Function · 0.65
Test_Mock_AssertExpectations
Function · 0.65
Test_Mock_AssertExpectations_Placeholder_NoArgs
Function · 0.65
Test_Mock_AssertExpectations_Placeholder
Function · 0.65
Test_Mock_AssertExpectations_With_Pointers
Function · 0.65
Test_Mock_AssertExpectationsCustomType
Function · 0.65
Test_Mock_AssertExpectationsFunctionalOptionsType
Function · 0.65
Test_Mock_AssertExpectationsFunctionalOptionsType_Empty
Function · 0.65
Test_Mock_AssertExpectationsFunctionalOptionsType_Indirectly
Function · 0.65
Test_Mock_AssertExpectationsFunctionalOptionsType_Diff_Func
Function · 0.65
Test_Mock_AssertExpectationsFunctionalOptionsType_Diff_Arg
Function · 0.65
Implementers
1
Mock
mock/mock.go
Calls
no outgoing calls
Tested by
15
Test_Mock_On_WithArgMatcherThatPanics
Function · 0.52
Test_Mock_AssertExpectations
Function · 0.52
Test_Mock_AssertExpectations_Placeholder_NoArgs
Function · 0.52
Test_Mock_AssertExpectations_Placeholder
Function · 0.52
Test_Mock_AssertExpectations_With_Pointers
Function · 0.52
Test_Mock_AssertExpectationsCustomType
Function · 0.52
Test_Mock_AssertExpectationsFunctionalOptionsType
Function · 0.52
Test_Mock_AssertExpectationsFunctionalOptionsType_Empty
Function · 0.52
Test_Mock_AssertExpectationsFunctionalOptionsType_Indirectly
Function · 0.52
Test_Mock_AssertExpectationsFunctionalOptionsType_Diff_Func
Function · 0.52
Test_Mock_AssertExpectationsFunctionalOptionsType_Diff_Arg
Function · 0.52
Test_Mock_AssertExpectations_With_Repeatability
Function · 0.52