function it_lowercases_visibility_before_setting_it() { $this->setVisibility('Public'); $this->getVisibility()->shouldReturn('public'); }