Add tests for NoteService
This commit is contained in:
14
src/test/java/testutil/AnyValues.java
Normal file
14
src/test/java/testutil/AnyValues.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package testutil;
|
||||
|
||||
import database.DaoException;
|
||||
|
||||
public class AnyValues {
|
||||
|
||||
public static String string() {
|
||||
return "string";
|
||||
}
|
||||
|
||||
public static DaoException daoException() {
|
||||
return new DaoException(string(), new RuntimeException());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user