public function testGetCustomerId() { $expected = 1; $this->orderAddressMock->expects($this->once())->method('getCustomerId')->willReturn($expected); $this->assertEquals($expected, $this->model->getCustomerId()); }