a valid entry should have no issues concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphJavaValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart statechart concode_field_sep void choiceOutgoingTransitions concode_elem_sep void initialEntryWithoutOutTransition concode_elem_sep void prepareStateTest concode_elem_sep void assertNoIssue concode_elem_sep void stateDeadEnd concode_elem_sep void incomingTransitionCount concode_elem_sep void vertexNotReachable concode_elem_sep void stateWithoutName concode_elem_sep void stateWithWhitespaceName concode_elem_sep void entryMultipleOutTransition concode_elem_sep void disallowTrigger concode_elem_sep Diagnostic issueByName concode_elem_sep void assertIssueCount concode_elem_sep void nameIsNotEmpty concode_elem_sep void testAllChecksHaveTests concode_elem_sep void validState concode_elem_sep void finalStateValid concode_elem_sep void assertError concode_elem_sep void finalStateIsolated concode_elem_sep void setUp concode_elem_sep Transition createTransition concode_elem_sep void outgoingTransitionCount concode_elem_sep void assertWarning concode_elem_sep void assertIssue
void function ( ) { prepareStateTest ( ) ; Entry loc0 = factory . createEntry ( ) ; region . getVertices ( ) . add ( loc0 ) ; createTransition ( loc0 , state ) ; assertEquals ( EntryKind . INITIAL , loc0 . getKind ( ) ) ; assertTrue ( validator . validate ( loc0 , diagnostics , new HashMap < Object , Object > ( ) ) ) ; assertIssueCount ( diagnostics , 0 ) ; }