test: firmware verificationStarted: writeMeta

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Iaa0a2422963fc7063f0d67f0e4e00de36030516b
diff --git a/test/firmware_state_verificationstarted_unittest.cpp b/test/firmware_state_verificationstarted_unittest.cpp
index e27ffc7..33edcc7 100644
--- a/test/firmware_state_verificationstarted_unittest.cpp
+++ b/test/firmware_state_verificationstarted_unittest.cpp
@@ -198,15 +198,27 @@
 }
 
 /*
+ * writemeta(session)
+ */
+TEST_F(FirmwareHandlerVerificationStartedTest,
+       WriteMetaOnVerifySessionReturnsFailure)
+{
+    getToVerificationStarted(staticLayoutBlobId);
+
+    std::vector<std::uint8_t> bytes = {0x01, 0x02};
+    EXPECT_FALSE(handler->writeMeta(session, 0, bytes));
+}
+
+/*
+ * write(session)
+ */
+
+/*
  * open(blob) - there is nothing you can open, this state has an open file.
  *
  * close(session) - close while state if verificationStarted without calling
  * stat first will abort.
  *
- * writemeta(session)
- *
- * write(session)
- *
  * read(session)
  *
  * commit(session)