test: firmware verificationCompleted: read(session)

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Iae0b23048384a2c15470dd25bfe85154717dce9e
diff --git a/test/firmware_state_verificationcompleted_unittest.cpp b/test/firmware_state_verificationcompleted_unittest.cpp
index f7a0f2c..2b069c5 100644
--- a/test/firmware_state_verificationcompleted_unittest.cpp
+++ b/test/firmware_state_verificationcompleted_unittest.cpp
@@ -19,6 +19,7 @@
 namespace
 {
 
+using ::testing::IsEmpty;
 using ::testing::Return;
 using ::testing::UnorderedElementsAreArray;
 
@@ -173,20 +174,35 @@
 /*
  * stat(session) - the verify blobid is open in this state, so stat on that once
  * completed should have no effect.
- *
+ */
+
+/*
  * open(blob) - all open should fail
- *
- * close(session) - close on the verify blobid:
- *   1. if successful adds update blob id, changes state to UpdatePending
- *   2. if unsuccessful doesn't add update blob id, changes state to?
  */
 
 /*
  * writemeta(session) - write meta should fail.
  * write(session) - write should fail.
+ */
+
+/*
  * read(session) - read returns empty.
+ */
+TEST_F(FirmwareHandlerVerificationCompletedTest, ReadOfVerifyBlobReturnsEmpty)
+{
+    getToVerificationCompleted(VerifyCheckResponses::success);
+    EXPECT_THAT(handler->read(session, 0, 1), IsEmpty());
+}
+
+/*
  * commit(session) - ?
  */
 
+/*
+ * close(session) - close on the verify blobid:
+ *   1. if successful adds update blob id, changes state to UpdatePending
+ *   2. if unsuccessful doesn't add update blob id, changes state to?
+ */
+
 } // namespace
 } // namespace ipmi_flash