27 public function testMerge( $t1, $n1, $t2, $n2, $result ) {
30 ->setMethods( [
'getMapping' ] )
31 ->setConstructorArgs( [ $n1, $t1 ] )
35 ->setMethods( [
'getMapping' ] )
36 ->setConstructorArgs( [ $n2, $t2 ] )
45 $field1->setFlag( 0xFF );
48 $field1->setMergeCallback(
53 $this->
assertEquals(
"test", $field1->merge( $field2 ) );