}
branchToken, newSnapshot, newEvents := s.CreateWorkflow(
rand.Int63(),
enumsspb.WORKFLOW_EXECUTION_STATE_CREATED,
enumspb.WORKFLOW_EXECUTION_STATUS_RUNNING,
rand.Int63(),
)
s.AssertMSEqualWithDB(chasm.WorkflowArchetypeID, newSnapshot)
s.AssertHEEqualWithDB(branchToken, newEvents)
}
func (s *ExecutionMutableStateSuite) TestCreate_BrandNew_CHASM() {