public double asKHz() {
        return (double) frequency / KHZ;
    }
@Test
    public void testasKHz() {
        Frequency frequency = Frequency.ofMHz(1);

        assertThat(frequency.asKHz(), is(1000.0));
    }