test: firmware updateStarted: read(session)

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I3a3617c4f9c052b8d5bfa0fa1209e90462dfad07
diff --git a/test/firmware_state_updatestarted_unittest.cpp b/test/firmware_state_updatestarted_unittest.cpp
index 8903a7f..392ff18 100644
--- a/test/firmware_state_updatestarted_unittest.cpp
+++ b/test/firmware_state_updatestarted_unittest.cpp
@@ -18,6 +18,7 @@
 namespace
 {
 
+using ::testing::IsEmpty;
 using ::testing::Return;
 using ::testing::UnorderedElementsAreArray;
 
@@ -134,6 +135,11 @@
 /*
  * read(session)
  */
+TEST_F(FirmwareHandlerUpdateStartedTest, ReadFromUpdateBlobReturnsEmpty)
+{
+    getToUpdateStarted();
+    EXPECT_THAT(handler->read(session, 0, 1), IsEmpty());
+}
 
 /*
  * stat(session) - this will trigger a check, and the state may change.