'; $attributes = new FakeAttributes(); $properties = new Properties(FakePropertyDefinition::new()); $methods = new Methods(FakeMethodDefinition::new()); $class = new ClassDefinition( $name, $signature, $attributes, $properties, $methods ); self::assertSame($name, $class->name()); self::assertSame($signature, $class->signature()); self::assertSame($attributes, $class->attributes()); self::assertSame($properties, $class->properties()); self::assertSame($methods, $class->methods()); } }