test: firmware updateCompleted: writeMeta(session)

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: If31a24186747f9adb93e9d0925ab478abfbbdf22
diff --git a/test/firmware_state_updatecompleted_unittest.cpp b/test/firmware_state_updatecompleted_unittest.cpp
index e531bf1..776e4c5 100644
--- a/test/firmware_state_updatecompleted_unittest.cpp
+++ b/test/firmware_state_updatecompleted_unittest.cpp
@@ -135,12 +135,21 @@
 }
 
 /*
+ * writemeta(session)
+ */
+TEST_F(FirmwareHandlerUpdateCompletedTest, WriteMetaToUpdateBlobReturnsFailure)
+{
+    getToUpdateCompleted(ActionStatus::success);
+
+    EXPECT_FALSE(handler->writeMeta(session, 0, {0x01}));
+}
+
+/*
  * There are the following calls (parameters may vary):
  * canHandleBlob(blob)
  * getBlobIds
  * deleteBlob(blob)
  * close(session)
- * writemeta(session)
  * write(session)
  * read(session)
  * commit(session)