LeoColman
05/22/2020, 6:31 AMfun MyDummyClass.shouldContainInOrder(myLinkedList) = this should containInOrder(myLinkedList)
fun MyDummyClass.shouldNotContainInOrder(myLinkedList) = this shouldNot containInOrder(myLinkedList)
fun containInOrder(linkedList: LinkedList) = object : Matcher<MyDummyClass> {
    override fun test(value: MyDummyClass) = MatcherResult(
        linkedList.ordering() == whatIWant,
        "Should be ordered like I want, b ut isn't",
        "Should not be ordered, but is
    )
}