be(new FireflyIII\User); $pref = new Preference; $pref->data = '1M'; // CURRENCY: $currency = new TransactionCurrency; Preferences::shouldReceive('get', 'viewRange')->andReturn($pref); Amount::shouldReceive('getDefaultCurrency')->andReturn($currency); Amount::shouldReceive('getAllCurrencies')->andReturn([$currency]); // get all currencires? $response = $this->call('GET', '/accounts/create/asset'); $this->assertResponseOk(); $this->assertViewHas('subTitle', 'Create a new asset account'); $this->assertViewHas('subTitleIcon', 'fa-money'); $this->assertViewHas('what', 'asset'); } public function testDelete() { $this->markTestIncomplete(); } public function testDestroy() { $this->markTestIncomplete(); } public function testEdit() { $this->markTestIncomplete(); } public function testIndex() { $this->markTestIncomplete(); } public function testShow() { $this->markTestIncomplete(); } public function testStore() { $this->markTestIncomplete(); } public function testUpdate() { $this->markTestIncomplete(); } }