Improve test coverage
Change-Id: I261cf443ed33f682afdddec378d9b775e227c4ad
diff --git a/src/main/java/com/intel/jndn/mock/MockFace.java b/src/main/java/com/intel/jndn/mock/MockFace.java
index 442e453..8980fa7 100644
--- a/src/main/java/com/intel/jndn/mock/MockFace.java
+++ b/src/main/java/com/intel/jndn/mock/MockFace.java
@@ -198,7 +198,7 @@
throw new Error(ex);
}
- if (options.enablePacketLogging) {
+ if (options.isEnablePacketLogging()) {
onSendInterest.add(new SignalOnSendInterest() {
@Override
public void emit(final Interest interest) {
@@ -214,7 +214,7 @@
});
}
- if (options.enableRegistrationReply) {
+ if (options.isEnableRegistrationReply()) {
onSendInterest.add(new OnPrefixRegistration());
}
}