Created
February 16, 2018 09:18
-
-
Save FantailIO/67d70b042bbb818b1986a961a4aed80d to your computer and use it in GitHub Desktop.
First cut of a unit test for the Location service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.fantail.location.service; | |
import org.junit.Assert; | |
import org.junit.Before; | |
import org.junit.Test; | |
public class LocationServiceTest { | |
private LocationService locationService; | |
@Before | |
public void setup() { | |
locationService = new LocationService(); | |
} | |
@Test | |
public void testGetByValidId() { | |
Assert.assertNotNull(locationService.getLocation("ValidID")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment