mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 18:18:45 +00:00
Removed magic number.
This commit is contained in:
1 parent
51dca28fe7
commit
d0af12b1ee
1 file changed
+1
-1
@@ -84,7 +84,7 @@ public class CustomerDaoImplTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getNonExistinCustomerById() {
|
public void getNonExistinCustomerById() {
|
||||||
final int nonExistingId = 999;
|
final int nonExistingId = getNonExistingCustomerId();
|
||||||
assertNull(impl.getCustomerById(nonExistingId));
|
assertNull(impl.getCustomerById(nonExistingId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user