001    package org.hackystat.sensorbase.resource.users;
002    
003    import static org.junit.Assert.assertNotNull;
004    
005    import org.junit.Test;
006    
007    /**
008     * Simple test for the Password Generator.
009     * @author Philip Johson
010     */
011    public class TestPasswordGenerator {
012    
013      /**
014       * Tests that a password can be created.
015       * @throws Exception If problems occur. 
016       */
017      @Test public void testPassword() throws Exception {
018        assertNotNull("Checking generator", PasswordGenerator.make());
019      }
020    }