public function testGetBlockPrefix() { $this->type->expects($this->once()) ->method('getBlockPrefix') ->willReturn('my_prefix'); $resolvedType = new ResolvedFormType($this->type); $this->assertSame('my_prefix', $resolvedType->getBlockPrefix()); }
public function testGetBlockPrefix() { $this->type->expects($this->once()) ->method('getBlockPrefix') ->willReturn('my_prefix'); $resolvedType = new ResolvedFormType($this->type); $this->assertSame('my_prefix', $resolvedType->getBlockPrefix()); }