/**
  * @param string $key
  * @return mixed
  */
 public function value($key)
 {
     return $this->filter->getValue($key);
 }
 /** @test */
 function it_should_not_pass_validation_if_the_member_making_the_transfer_is_not_specified()
 {
     $filter = new TransferFundsFilter();
     $filter->setData(['fromMemberId' => '', 'toMemberId' => self::VALID_ID, 'amount' => self::VALID_AMOUNT]);
     $this->assertFalse($filter->isValid(), 'Member ID should be invalid');
     $this->assertArrayHasKey(NotEmpty::IS_EMPTY, $filter->getMessages()['fromMemberId']);
 }