You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2017/11/10 22:18:26 UTC

[geode] branch feature/GEODE-3940 updated: PrepareBackupFactory unit test coverage is now 100%

This is an automated email from the ASF dual-hosted git repository.

dschneider pushed a commit to branch feature/GEODE-3940
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-3940 by this push:
     new 7ee6ce4  PrepareBackupFactory unit test coverage is now 100%
7ee6ce4 is described below

commit 7ee6ce44d4d6b7aaceb7a53bbf8a1668a30de090
Author: Darrel Schneider <ds...@pivotal.io>
AuthorDate: Fri Nov 10 14:17:55 2017 -0800

    PrepareBackupFactory unit test coverage is now 100%
---
 .../geode/internal/cache/backup/PrepareBackupFactoryTest.java      | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java
index cbb8d36..0dbb664 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java
@@ -15,7 +15,6 @@
 package org.apache.geode.internal.cache.backup;
 
 import static org.assertj.core.api.Assertions.*;
-import static org.mockito.Matchers.*;
 import static org.mockito.Mockito.*;
 
 import java.util.HashSet;
@@ -77,4 +76,10 @@ public class PrepareBackupFactoryTest {
     assertThat(prepareBackupFactory.createPrepareBackup(member, cache))
         .isInstanceOf(PrepareBackup.class);
   }
+
+  @Test
+  public void createPrepareBackupResponseReturnsPrepareBackupResponse() {
+    assertThat(prepareBackupFactory.createPrepareBackupResponse(member, null))
+        .isInstanceOf(PrepareBackupResponse.class);
+  }
 }

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].