from(['foo@example.com', 'test@example.com']) ->label('Some label') ->archive(); $filterB = (new Filter()) ->has('from:bar@example.com') ->star() ->important(); $result = new Builder([$filterA, $filterB]); $expected = ""; $expected .= ""; $expected .= ''; $expected .= ""; $expected .= ""; $expected .= ""; $expected .= ''; $expected .= ''; $expected .= ""; $expected .= ""; $expected .= ""; $expected .= ''; $expected .= ''; $this->assertEquals($expected, $result); } }