/**
  * @param array $input
  */
 public function populate(array $input)
 {
     $fromMemberId = isset($input['fromMemberId']) ? $input['fromMemberId'] : null;
     $this->filter->configure($this->configuration, $fromMemberId);
     $this->filter->setData($input);
 }
 /** @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']);
 }