pparthenhs commented on a change in pull request #16249:
URL: https://github.com/apache/shardingsphere/pull/16249#discussion_r832142126
##########
File path:
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/InsertClauseShardingConditionEngineTest.java
##########
@@ -34,52 +39,90 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
+import org.mockito.MockedStatic;
+import org.mockito.Mockito;
import org.mockito.junit.MockitoJUnitRunner;
-
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertThat;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
@RunWith(MockitoJUnitRunner.class)
public final class InsertClauseShardingConditionEngineTest {
-
- private final InsertClauseShardingConditionEngine
insertClauseShardingConditionEngine = new
InsertClauseShardingConditionEngine(mock(ShardingRule.class),
mock(ShardingSphereSchema.class));
-
+
+ private InsertClauseShardingConditionEngine
insertClauseShardingConditionEngine;
+
+ private ShardingRule shardingRule;
+
@Mock
private InsertStatementContext insertStatementContext;
-
Review comment:
This is a file format for the related issue, regarding CRLF and LF. In
addition, this code line moved as the code added above.
Please me know how to proceed.
Really appreciate your time, support and collaboration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]