Skip to content

punkratz312/kiss-assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kiss-assert Build Status Coverage Status

Simple stupid assertion framework for java.

Example usage

public void order(Customer customer) {
	Assert.notNull (customer);
	Assert.notBlank(customer.getId());
	Assert.notBlank(customer.getToken());
	Assert.notEmpty(customer.getOrders());
	
	orderService.order(customer)
}

Characteristics

  • nullsafe
  • Exceptiontype: IllegalArgumentException

API

  • notNull
    • Object
  • notBlank
    • String
  • notEmpty
    • String
    • Collection
    • Iterator
  • notTrue
    • Boolean
  • notFalse
    • Boolean

About

Simple stupid assertion framework for java.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages