Skip to content

Firefly III: a personal finances manager

New (incomplete) tests [skip ci]

James Colebeeccdf34572
diff --git a/tests/repositories/BillRepositoryTest.php b/tests/repositories/BillRepositoryTest.php
new file mode 100644
index 0000000000..882bdac903
--- /dev/null
+++ b/tests/repositories/BillRepositoryTest.php
@@ -0,0 +1,188 @@
+<?php
+use FireflyIII\Repositories\Bill\BillRepository;
+
+/**
+ * Generated by PHPUnit_SkeletonGenerator on 2015-05-08 at 10:43:42.
+ */
+class BillRepositoryTest extends TestCase
+{
+ /**
+ * @var BillRepository
+ */
+ protected $object;
+
+ /**
+ * Sets up the fixture, for example, opens a network connection.
+ * This method is called before a test is executed.
+ */
+ public function setUp()
+ {
+ $this->object = new BillRepository;
+ parent::setUp();
+ }
+
+ /**
+ * Tears down the fixture, for example, closes a network connection.
+ * This method is called after a test is executed.
+ */
+ public function tearDown()
+ {
+ parent::tearDown();
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::createFakeBill
+ * @todo Implement testCreateFakeBill().
+ */
+ public function testCreateFakeBill()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::destroy
+ * @todo Implement testDestroy().
+ */
+ public function testDestroy()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::getActiveBills
+ * @todo Implement testGetActiveBills().
+ */
+ public function testGetActiveBills()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::getBills
+ * @todo Implement testGetBills().
+ */
+ public function testGetBills()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::getJournals
+ * @todo Implement testGetJournals().
+ */
+ public function testGetJournals()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::getJournalsInRange
+ * @todo Implement testGetJournalsInRange().
+ */
+ public function testGetJournalsInRange()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::getPossiblyRelatedJournals
+ * @todo Implement testGetPossiblyRelatedJournals().
+ */
+ public function testGetPossiblyRelatedJournals()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::getRanges
+ * @todo Implement testGetRanges().
+ */
+ public function testGetRanges()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::lastFoundMatch
+ * @todo Implement testLastFoundMatch().
+ */
+ public function testLastFoundMatch()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::nextExpectedMatch
+ * @todo Implement testNextExpectedMatch().
+ */
+ public function testNextExpectedMatch()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::scan
+ * @todo Implement testScan().
+ */
+ public function testScan()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::store
+ * @todo Implement testStore().
+ */
+ public function testStore()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers FireflyIII\Repositories\Bill\BillRepository::update
+ * @todo Implement testUpdate().
+ */
+ public function testUpdate()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+}