/**
 * Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
 * All rights reserved. Use is subject to license terms. See LICENSE.TXT
 */
package org.diirt.graphene;

import static org.junit.Assert.assertNotNull;

import java.awt.Font;

import org.junit.Test;

public class FontUtilTest {

    @Test
    public void loadRegularFont() {
        final Font font = FontUtil.getLiberationSansRegular();
        assertNotNull(font);
    }

}

@@ -164,16 +164,69 @@
 phene;%0A%0A
+import static org.hamcrest.core.IsNull.notNullValue;%0A
 import s
@@ -254,23 +254,20 @@
 t.assert
-NotNull
+That
 ;%0A%0Aimpor
@@ -464,20 +464,33 @@
 sert
-NotNull(font
+That(font, notNullValue()
 );%0A 

use matcher in FontUtilTest