19 declare(strict_types=1);
31 $field = $this->getMockBuilder(Field::class)->disableOriginalConstructor()->getMock();
32 $ref_field = $this->getMockBuilder(Field::class)->disableOriginalConstructor()->getMock();
35 $this->assertInstanceOf(Association::class, $instance);
40 $field = $this->getMockBuilder(Field::class)->disableOriginalConstructor()->getMock();
41 $ref_field = $this->getMockBuilder(Field::class)->disableOriginalConstructor()->getMock();
44 $this->assertEquals($field, $instance->field());
49 $field = $this->getMockBuilder(Field::class)->disableOriginalConstructor()->getMock();
50 $ref_field = $this->getMockBuilder(Field::class)->disableOriginalConstructor()->getMock();
53 $this->assertEquals($ref_field, $instance->referenceField());