/* (c) 2016 Open Source Geospatial Foundation - all rights reserved * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.netcdfout; import static org.junit.Assert.*; import org.junit.Test; public class NetCDFOutStatusTest { @Test public void testNetCDFOutStatus() { NetCDFOutStatus status = new NetCDFOutStatus(); // these should always return "something" assertTrue(status.getModule().length() > 0); assertTrue(status.getName().length() > 0); assertTrue(status.getComponent().get().length() > 0); assertTrue(status.getMessage().get().length() > 0); assertTrue(status.getVersion().isPresent()); assertTrue(status.getMessage().get().contains("NETCDF-4 Binary")); } }