File tree Expand file tree Collapse file tree
dbclient/mongodb/src/test/java/io/helidon/dbclient/mongodb Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2019, 2023 Oracle and/or its affiliates.
2+ * Copyright (c) 2019, 2024 Oracle and/or its affiliates.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2222
2323import org .junit .jupiter .api .Test ;
2424
25- import static org .junit .jupiter .api .Assertions .assertEquals ;
25+ import static org .hamcrest .CoreMatchers .is ;
26+ import static org .hamcrest .MatcherAssert .assertThat ;
2627
2728/**
2829 * Unit test for {@link StatementParsers}.
@@ -44,7 +45,7 @@ void testStatementWithParameters() {
4445 .replace ("$idmax" , String .valueOf (mapping .get ("idmax" )));
4546 NamedParser parser = new NamedParser (stmtIn , mapping );
4647 String stmtOut = parser .convert ();
47- assertEquals ( stmtExp , stmtOut );
48+ assertThat ( stmtOut , is ( stmtExp ) );
4849 }
4950
5051}
You can’t perform that action at this time.
0 commit comments