public static Frequency ofKHz(long value) {
        return new Frequency(value * KHZ);
    }
@Test
    public void testofKHz() {
        Frequency frequency = Frequency.ofKHz(1.0);
        assertThat(frequency.asHz(), is(1000L));
    }