📄 Update filenames in file headers
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / freenet / wot / DefaultIdentityTest.kt
index 1c12b33..f06de54 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - DefaultIdentityTest.java - Copyright Â© 2013–2019 David Roden
+ * Sone - DefaultIdentityTest.kt - Copyright Â© 2013–2019 David 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
@@ -64,7 +64,7 @@ open class DefaultIdentityTest {
        @Test
        fun `contexts are set correctly in bulk`() {
                identity.addContext("Test")
-               identity.setContexts(listOf("Test1", "Test2"))
+               identity.contexts = setOf("Test1", "Test2")
                assertThat(identity.contexts, containsInAnyOrder("Test1", "Test2"))
                assertThat(identity.hasContext("Test"), equalTo(false))
                assertThat(identity.hasContext("Test1"), equalTo(true))