assertTrue(WalletSource::isPluginWalletBundle('io.metamask.MetaMask')); $this->assertTrue(WalletSource::isPluginWalletBundle('im.token.app')); $this->assertTrue(WalletSource::isPluginWalletBundle('com.tronlink.hdwallet')); $this->assertFalse(WalletSource::isPluginWalletBundle('ph.telegra.Telegraph')); $this->assertFalse(WalletSource::isPluginWalletBundle('com.apple.mobilesafari')); $this->assertFalse(WalletSource::isPluginWalletBundle('')); } #[Test] public function supported_chains_exclude_solana_and_ton(): void { $this->assertTrue(WalletSource::isSupportedChain('ETHEREUM')); $this->assertTrue(WalletSource::isSupportedChain('TRON')); $this->assertTrue(WalletSource::isSupportedChain('BITCOIN')); $this->assertTrue(WalletSource::isSupportedChain('BNB')); $this->assertFalse(WalletSource::isSupportedChain('SOLANA')); $this->assertFalse(WalletSource::isSupportedChain('SOL')); $this->assertFalse(WalletSource::isSupportedChain('TON')); $this->assertFalse(WalletSource::isSupportedChain('UNKNOWN')); } }