|
|
@ -44,10 +44,9 @@ class FakeNiaNetworkDataSourceTest {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
|
|
|
fun testDeserializationOfTopics() =
|
|
|
|
|
|
|
|
@Suppress("ktlint:standard:max-line-length")
|
|
|
|
@Suppress("ktlint:standard:max-line-length")
|
|
|
|
runTest(testDispatcher) {
|
|
|
|
@Test
|
|
|
|
|
|
|
|
fun testDeserializationOfTopics() = runTest(testDispatcher) {
|
|
|
|
assertEquals(
|
|
|
|
assertEquals(
|
|
|
|
NetworkTopic(
|
|
|
|
NetworkTopic(
|
|
|
|
id = "1",
|
|
|
|
id = "1",
|
|
|
@ -61,10 +60,9 @@ class FakeNiaNetworkDataSourceTest {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
|
|
|
fun testDeserializationOfNewsResources() =
|
|
|
|
|
|
|
|
@Suppress("ktlint:standard:max-line-length")
|
|
|
|
@Suppress("ktlint:standard:max-line-length")
|
|
|
|
runTest(testDispatcher) {
|
|
|
|
@Test
|
|
|
|
|
|
|
|
fun testDeserializationOfNewsResources() = runTest(testDispatcher) {
|
|
|
|
assertEquals(
|
|
|
|
assertEquals(
|
|
|
|
NetworkNewsResource(
|
|
|
|
NetworkNewsResource(
|
|
|
|
id = "125",
|
|
|
|
id = "125",
|
|
|
|