15 $this->assertEquals(
'foo', $obj->getType() );
23 $obj->orig = [
'foo' ];
24 $this->assertEquals( [
'foo' ], $obj->getOrig() );
32 $obj->closing = [
'foo' ];
33 $this->assertEquals( [
'foo' ], $obj->getClosing() );
41 $obj->closing = [
'foo',
'bar',
'baz' ];
42 $this->assertEquals(
'foo', $obj->getClosing( 0 ) );
43 $this->assertEquals(
'bar', $obj->getClosing( 1 ) );
44 $this->assertEquals(
'baz', $obj->getClosing( 2 ) );
45 $this->assertEquals(
null, $obj->getClosing( 3 ) );
53 $this->assertEquals( 0, $obj->norig() );
54 $obj->orig = [
'foo' ];
55 $this->assertEquals( 1, $obj->norig() );
63 $this->assertEquals( 0, $obj->nclosing() );
64 $obj->closing = [
'foo' ];
65 $this->assertEquals( 1, $obj->nclosing() );