- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 47
Installing
        Andrei Ciobanu edited this page Jul 6, 2018 
        ·
        32 revisions
      
    - Clone it from github:
git clone https://github.com/nomemory/mockneat.git
- Build the "fat jar" - the jar that contains MockNeat and all its dependencies:
gradle shadowJar
- 
Check the ./build/libs/for.jarfile:mockneat-<version>-all.jar.
- 
Add the .jarto the classpath.
To check the latest version please check the library's jcenter page.
Add jcenter() as a repository in your gradle.build file:
repositories {
    // something else
    jcenter()
}
Add the following line a dependency:
dependencies {
      // something else
     compile 'net.andreinc.mockneat:mockneat:0.1.9'
}
To check the latest version please check the library's jcenter page.
pom.xml dependency:
<repositories>
    <repository>
        <id>jcenter</id>
        <url>https://jcenter.bintray.com/</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>net.andreinc.mockneat</groupId>
        <artifactId>mockneat</artifactId>
        <version>0.1.9</version>
    </dependency>
</dependencies>Using the library:
Real World Examples: