test: firmware updateStarted: write(session)

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I584103618c4e6a949b1e0d9baa048dcd4bc4e9f9
diff --git a/test/firmware_state_updatestarted_unittest.cpp b/test/firmware_state_updatestarted_unittest.cpp
index 9ff4bbf..8903a7f 100644
--- a/test/firmware_state_updatestarted_unittest.cpp
+++ b/test/firmware_state_updatestarted_unittest.cpp
@@ -125,6 +125,11 @@
 /*
  * write(session)
  */
+TEST_F(FirmwareHandlerUpdateStartedTest, WriteToUpdateBlobReturnsFailure)
+{
+    getToUpdateStarted();
+    EXPECT_FALSE(handler->write(session, 0, {0x01}));
+}
 
 /*
  * read(session)