container); $rgb = $provider->getBackgroundColor('Test'); $this->assertEquals(array(107, 83, 172), $rgb); } public function testIsActive() { $provider = new LetterAvatarProvider($this->container); $this->assertTrue($provider->isActive(array())); } public function testRenderWithFullName() { $provider = new LetterAvatarProvider($this->container); $user = array('id' => 123, 'name' => 'Kanboard Admin', 'username' => 'bob', 'email' => ''); $expected = '