File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
driver-core/src/test/unit/com/mongodb/internal/connection Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ public class CommandHelperTest {
52
52
new ServerId (new ClusterId ("cluster" ), new ServerAddress ()));
53
53
54
54
@ Test
55
+ @ SuppressWarnings ("unchecked" )
55
56
void testExecuteCommand () {
56
57
InternalConnection internalConnection = mock (InternalConnection .class );
57
58
OperationContext operationContext = createOperationContext ();
@@ -67,6 +68,7 @@ void testExecuteCommand() {
67
68
}
68
69
69
70
@ Test
71
+ @ SuppressWarnings ("unchecked" )
70
72
void testExecuteCommandWithoutCheckingForFailure () {
71
73
InternalConnection internalConnection = mock (InternalConnection .class );
72
74
OperationContext operationContext = createOperationContext ();
@@ -84,6 +86,7 @@ void testExecuteCommandWithoutCheckingForFailure() {
84
86
85
87
86
88
@ Test
89
+ @ SuppressWarnings ("unchecked" )
87
90
void testExecuteCommandAsyncUsesTheOperationContext () {
88
91
InternalConnection internalConnection = mock (InternalConnection .class );
89
92
OperationContext operationContext = createOperationContext ();
You can’t perform that action at this time.
0 commit comments