public function testLimitWords() { is('The quick brown...', Str::limitWords('The quick brown fox jumps over the lazy dog', 3)); is('The quick brown fox jumps...', Str::limitWords('The quick brown fox jumps over the lazy dog', 5)); is('The...', Str::limitWords('The quick brown fox jumps over the lazy dog', 1)); is('The quick brown fox jumps over the lazy dog', Str::limitWords('The quick brown fox jumps over the lazy dog', 90)); is('The quick brown fox jumps over the...', Str::limitWords('The quick brown fox jumps over the lazy dog', 7)); }