public function setDefault($default) {
        $entry_builder =
            new EntryBuilder();
        $entry_builder
            ->with($this->anything())
            ->will($default);

        $this->default_entry = $entry_builder->build();

        return $this;
    }
public function setDefault($default) {
        $entry_builder =
            new EntryBuilder();
        $entry_builder
            ->with($this->anything())
            ->will($default);

        $this->default_entry = $entry_builder->build();

        return $this;
    }
public function setDefault ( $ default ) { $ entry_builder = new EntryBuilder ( ) ; $ entry_builder -> with ( $ this -> anything ( ) ) -> will ( $ default ) ; $ this -> default_entry = $ entry_builder -> build ( ) ; return $ this ; }
Sets the default return value.

@param PHPUnit_Extensions_MockObject_Stub|mixed $default the default
return value.

@return Builder
Sets the default return value .