-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec5a815
commit 23782f8
Showing
26 changed files
with
208 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...happycoders/shop/adapter/out/persistence/inmemory/InMemoryCartPersistenceAdapterTest.java
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...java/eu/happycoders/shop/adapter/out/persistence/inmemory/InMemoryCartRepositoryTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package eu.happycoders.shop.adapter.out.persistence.inmemory; | ||
|
||
import eu.happycoders.shop.adapter.out.persistence.AbstractCartRepositoryTest; | ||
|
||
class InMemoryCartRepositoryTest | ||
extends AbstractCartRepositoryTest<InMemoryCartRepository, InMemoryProductRepository> { | ||
|
||
@Override | ||
protected InMemoryCartRepository createCartRepository() { | ||
return new InMemoryCartRepository(); | ||
} | ||
|
||
@Override | ||
protected InMemoryProductRepository createProductPersistenceAdapter() { | ||
return new InMemoryProductRepository(); | ||
} | ||
} |
13 changes: 0 additions & 13 deletions
13
...pycoders/shop/adapter/out/persistence/inmemory/InMemoryProductPersistenceAdapterTest.java
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...a/eu/happycoders/shop/adapter/out/persistence/inmemory/InMemoryProductRepositoryTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package eu.happycoders.shop.adapter.out.persistence.inmemory; | ||
|
||
import eu.happycoders.shop.adapter.out.persistence.AbstractProductRepositoryTest; | ||
import org.junit.jupiter.api.BeforeEach; | ||
|
||
class InMemoryProductRepositoryTest | ||
extends AbstractProductRepositoryTest<InMemoryProductRepository> { | ||
|
||
@BeforeEach | ||
void setUpPersistenceAdapter() { | ||
productRepository = new InMemoryProductRepository(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.