Kotest and Hamcrest with their custom matchers is a great example of applying this principle to testing.