Refactoring Assert and Create