-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d53990
commit 4b46b05
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
<div align="center"> | ||
<b><em>Easy Random</em></b><br> | ||
The simple, stupid random Java™ beans generator | ||
The simple, stupid random Java™ objects generator | ||
</div> | ||
|
||
<div align="center"> | ||
|
@@ -31,7 +31,7 @@ for now. Please consider upgrading to one of these versions at your earliest con | |
|
||
# What is Easy Random ? | ||
|
||
Easy Random is a library that generates random Java beans. You can think of it as an [ObjectMother](https://martinfowler.com/bliki/ObjectMother.html) for the JVM. Let's say you have a class `Person` and you want to generate a random instance of it, here we go: | ||
Easy Random is a library that generates random Java objects. You can think of it as an [ObjectMother](https://martinfowler.com/bliki/ObjectMother.html) for the JVM. Let's say you have a class `Person` and you want to generate a random instance of it, here we go: | ||
|
||
```java | ||
EasyRandom easyRandom = new EasyRandom(); | ||
|
@@ -108,7 +108,7 @@ Address address = new Address(street, "123456", "London", "United Kingdom"); | |
Person person = new Person("Foo", "Bar", "[email protected]", Gender.MALE, address); | ||
``` | ||
|
||
And if these classes do not provide constructors with parameters (may be some legacy beans you can't change), you would write: | ||
And if these classes do not provide constructors with parameters (may be some legacy types you can't change), you would write: | ||
|
||
```java | ||
Street street = new Street(); | ||
|