/**
- * Sone - DurationFormatFilterTest.kt - Copyright © 2019 David ‘Bombe’ Roden
+ * Sone - DurationFormatFilterTest.kt - Copyright © 2019–2020 David ‘Bombe’ Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
package net.pterodactylus.sone.template
+import net.pterodactylus.sone.test.OverrideLocale
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers.*
+import org.junit.Rule
+import java.util.Locale.ENGLISH
import kotlin.test.*
class DurationFormatFilterTest {
private val filter = DurationFormatFilter()
+ @get:Rule
+ val overrideLocale = OverrideLocale(ENGLISH)
+
@Test
fun `random object is returned as it is`() {
val randomObject = Any()