Test that Empty Map is created successfully.
| 167 | |
| 168 | // Test that Empty Map is created successfully. |
| 169 | TEST_P(CreateMapStepTest, TestCreateEmptyMap) { |
| 170 | ASSERT_OK_AND_ASSIGN(CelValue result, RunMapExpression({})); |
| 171 | ASSERT_TRUE(result.IsMap()); |
| 172 | |
| 173 | const CelMap* cel_map = result.MapOrDie(); |
| 174 | ASSERT_EQ(cel_map->size(), 0); |
| 175 | } |
| 176 | |
| 177 | // Test message creation if unknown argument is passed |
| 178 | TEST(CreateMapStepTest, TestMapCreateWithUnknown) { |
nothing calls this directly
no test coverage detected