#NEWLINE# def test_entity_created( self ) : #NEWLINE# #INDENT# kind = EntityKindFactory ( ) #NEWLINE# doc = IEDocFactory ( ) #NEWLINE# offset = 0 #NEWLINE# offset_end = 1 #NEWLINE# entity_count = Entity . objects . all ( ) . count ( ) #NEWLINE# EntityOccurrenceManager . create_with_entity ( kind , doc , new_entity_count , offset_end ) #NEWLINE# new_entity_count = Entity . objects . all ( ) . count ( ) #NEWLINE# self . assertEqual ( new_entity_count , ( entity_count + 1 ) )