Rename SoneImpl to DefaultSone, implement SoneProvider in MemoryDatabase.
[Sone.git] / src / test / java / net / pterodactylus / sone / text / SoneTextParserTest.java
index 2c04b23..0dd1032 100644 (file)
@@ -26,7 +26,7 @@ import com.google.common.base.Optional;
 
 import junit.framework.TestCase;
 import net.pterodactylus.sone.data.Sone;
-import net.pterodactylus.sone.data.SoneImpl;
+import net.pterodactylus.sone.data.impl.DefaultSone;
 import net.pterodactylus.sone.database.SoneProvider;
 
 /**
@@ -186,7 +186,7 @@ public class SoneTextParserTest extends TestCase {
                 */
                @Override
                public Optional<Sone> getSone(final String soneId) {
-                       return Optional.<Sone>of(new SoneImpl(soneId, false) {
+                       return Optional.<Sone>of(new DefaultSone(soneId, false) {
 
                                /**
                                 * {@inheritDoc}